package com.mvprxjavartrofit.ui.login;

/**
 * Created by Administrator
 * At 2016/10/20/9:53/2016
 * Project test
 */
public class LoginPresenter extends LoginContract.Presenter{

    @Override
    public void login() {
        rxManager.add(model.login(new LoginContract.Model.LoginListener() {
            @Override
            public void showMessage(String message) {
                view.showMessage(message);
            }

            @Override
            public void showSucc() {
                view.showSucc();
            }
        }));
    }
}
